﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace FogOutlook {
	public partial class UpdateForm : Form {
		public UpdateForm() {
			InitializeComponent();
			System.Drawing.Bitmap bmp = Properties.Resources.FogOutlook;
			this.Icon = System.Drawing.Icon.FromHandle(bmp.GetHicon());
		}

		private void link_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) {
			System.Diagnostics.Process.Start("http://code.google.com/p/fogoutlook");
		}

		private void btnClose_Click(object sender, EventArgs e) {
			Properties.Settings.Default.Save();
			Dispose();
		}

		private void btnRemind_Click(object sender, EventArgs e) {
			Properties.Settings.Default.remindMeLater = 5;
			Properties.Settings.Default.checkForUpdates = true;
			Properties.Settings.Default.Save();
			Dispose();
		}
	}
}
